﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 战棋模拟器
{
    class 波戈蒙斯塔:Minion
    {
        public 波戈蒙斯塔():base()
        {
            buff = 2;
            Star = 4;
            Attack = 6;
            Health = 7;
        }


        public override void Doattack(Minion m)
        {
            bool flag = (!m.Skills[3] && m.Health <= Attack);
            base.Doattack(m);
            if(alive)
            {
                Attack += buff;
                Health += buff;
            }
        }


        public override Minion NewOne()
        {
            return new 波戈蒙斯塔();
        }
    }


    class 波戈蒙斯塔_金色 : 波戈蒙斯塔
    {
        public 波戈蒙斯塔_金色() : base()
        {
            Attack *= 2;
            Health *= 2;
            count *= 2;
            buff *= 2;
        }

        public override Minion NewOne()
        {
            return new 波戈蒙斯塔_金色();
        }
    }
}
